package com.ffcs.crmd.tsp.core.netty;

/**
 * 
 * 功能说明:PRC处理器集合对象
 *
 * @author ZHONGFUHUA
 * 
 * @since 1.0.0-SNAPSHOT
 *
 */
public class RpcPair<T1, T2> {
    
    /**
     * 对应请求的业务执行对象
     */
    private T1 executeBussObj;
    
    /**
     * 对应请求的业务执行的线程池
     */
    private T2 executeThreadPool;


    public RpcPair(T1 executeBussObj, T2 executeThreadPool) {
        this.executeBussObj = executeBussObj;
        this.executeThreadPool = executeThreadPool;
    }


    public T1 getExecuteBussObj() {
        return executeBussObj;
    }


    public void setExecuteBussObj(T1 executeBussObj) {
        this.executeBussObj = executeBussObj;
    }


    public T2 getExecuteThreadPool() {
        return executeThreadPool;
    }


    public void setExecuteThreadPool(T2 executeThreadPool) {
        this.executeThreadPool = executeThreadPool;
    }


}